export interface User {
  oldPassword: string;
  newPassword: string;
  confirmPassword: string;
}

export interface Rule {
  required?: boolean;
  message?: string;
  trigger?: string;
  min?: number;
  max?: number;
  pattern?: RegExp;
  validator?: (rule: any, value: string, callback: (error?: Error) => void) => void;
}